<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>krpano - MAKE VTOUR - Virtual Tour Editor</title>
    <meta name="viewport"
          content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <script src="./js/jquery-3.4.1.min.js"></script>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="IE=edge" />
    <style>
        @-ms-viewport {
            width: device-width;
        }

        @media only screen and (min-device-width: 800px) {
            html {
                overflow: hidden;
            }
        }

        html {
            height: 100%;
        }

        body {
            height: 100%;
            overflow: hidden;
            margin: 0;
            padding: 0;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 16px;
            color: #FFFFFF;
            background-color: #000000;
        }

        a {
            color: #AAAAAA;
            text-decoration: underline;
        }

        a:hover {
            color: #FFFFFF;
            text-decoration: underline;
        }
    </style>
</head>

<body>
<span id="editorxml" th:text="@{${editorxml}}"></span>
<script th:src="@{${editorjs}}"></script>
<div id="pano" style="width:100%; height:95%;">
    <noscript>
        <table style="width:100%;height:100%;">
            <tr style="vertical-align:middle;">
                <td>
                    <div style="text-align:center;">ERROR:<br /><br />Javascript not activated<br /><br /></div>
                </td>
            </tr>
        </table>
    </noscript>
    <script>
        var editorxml = document.getElementById("editorxml").innerText;
        var vars = {};
        vars["plugin[vtoureditor].url"] = "./plugins/vtoureditor.swf";
        vars["plugin[vtoureditor].keep"] = true;
        embedpano({ swf: "./viewer/krpano.swf", xml: editorxml, target: "pano", flash: "only", passQueryParameters: false, vars: vars });
        $('#editorxml').hide();
    </script>
</div>

</body>

</html>